From: Eli Zaretskii Date: Fri, 7 Jan 2011 10:16:20 +0000 (+0200) Subject: Use __builtin_unwind_init in MinGW builds of w32 port. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~5273 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=09c269bcdc7c92b0c7bfa73a33a6b009e89f14ed;p=emacs.git Use __builtin_unwind_init in MinGW builds of w32 port. config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define. --- diff --git a/nt/ChangeLog b/nt/ChangeLog index 142f324b353..db71d9b6431 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,7 @@ +2011-01-07 Eli Zaretskii + + * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define. + 2011-01-02 Eli Zaretskii * configure.bat (end): Unset environment variables used by this diff --git a/nt/config.nt b/nt/config.nt index 3df58a29ba3..92e466d185a 100644 --- a/nt/config.nt +++ b/nt/config.nt @@ -287,6 +287,10 @@ along with GNU Emacs. If not, see . */ #define EXTERNALLY_VISIBLE #endif +#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8)) +#define HAVE___BUILTIN_UNWIND_INIT 1 +#endif + #undef EMACS_CONFIGURATION #undef EMACS_CONFIG_OPTIONS